//
//  HomePageViewController.m
//  大轮胎
//
//  Created by 朱永超 on 2017/3/16.
//  Copyright © 2017年 zyc. All rights reserved.
//

#import "HomePageViewController.h"
#import <SDCycleScrollView.h>
#import "GetData.h"


@interface HomePageViewController ()

@end

@implementation HomePageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self tabbar];
    [[GetData shardData]getMessage];
    [self scrollV];
}

-(void)tabbar
{
    //设置标题
    self.navigationItem.title = @"首页";
    //设置导航标题字体大小和颜色
    [self.navigationController.navigationBar setTitleTextAttributes:@{NSFontAttributeName:[UIFont systemFontOfSize:17],
                                                                      NSForegroundColorAttributeName:[UIColor whiteColor]}];
    //设置背景颜色
    self.view.backgroundColor = [UIColor orangeColor];

}
-(void)scrollV
{

    NSArray * arr = @[@"a",@"s"];
    SDCycleScrollView * sdCY = [SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 0, self.view.frame.size.width, 200) imageURLStringsGroup:arr];
    
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
